package com.company.project.service;
import com.company.project.core.Result;
import com.company.project.model.User;
import com.company.project.core.Service;
import com.company.project.model.request.EditPassForm;
import com.company.project.model.request.QueryParams;


/**
 * Created by CodeGenerator on 2020/04/21.
 */
public interface AdminUserService extends Service<User> {

    Result login(User user);

    Result register(User user);

    Result sendCode(String email);

    Result logout(Integer id);

    Result updatePwd(EditPassForm editPassForm);

    Result updateInfo(User user);

    Result getUserList(QueryParams queryParams);

    Result delete(Integer id);
}
